package com.huawei.cloud.user.Dao;

import com.huawei.cloud.user.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

/**
 * Created by cWX183898 on 2017/3/3.
 */
@Repository
public interface UserDao extends JpaRepository<User, String> {
    User readByUsername(String username);
}
